package main

import (
	"gin-server/controller"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()

	r.POST("/loginJSON", controller.LoginJSON)
	r.POST("/loginFORM", controller.LoginFORM)
	r.POST("/fileUpload", controller.FileUpload)
	//默认监听8080
	r.Run(":80")
}
